package com.alibaba.citrus.ots.sales.plan.service.salesplan;

import java.util.List;

import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanScItemSDO;
import com.alibaba.citrus.ots.sales.plan.service.statistics.model.request.PageQueryAddressPortRequest;
import com.alibaba.citrus.ots.sales.plan.service.statistics.model.request.PageQueryProductPlanPortRequest;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import com.epoch.app.otsplatformenhance.sdo.CustomerAddressSDO;

/**
 * @author luyi
 * @date 2021/9/16 3:29 下午
 */
@MeshFlowService(apps = {"bc_ots"}, name = "SalesPlanLineQueryPortService")
public interface SalesPlanLineQueryPortService {

    /**
     * 分页查询客户地址信息
     * @param pageQueryAddressPortRequest
     * @return
     */
    Result<PageResult<List<CustomerAddressSDO>>> pageQueryCustomerAddress(PageQueryAddressPortRequest pageQueryAddressPortRequest);

    /**
     * 分页查询计划货品
     * @param planPageQueryRequest
     * @return
     */
    Result<PageResult<List<SalesPlanScItemSDO>>> pageQueryProductPlan(PageQueryProductPlanPortRequest planPageQueryRequest);

    /**
     * 分页查询客户地址信息
     * @param pageQueryAddressPortRequest
     * @return
     */
    Result<PageResult<List<CustomerAddressSDO>>> pageQueryCustomerAddressFilter(PageQueryAddressPortRequest pageQueryAddressPortRequest);
}
